#include "applicationwindowitem.h"

ApplicationWindowItem::ApplicationWindowItem(WId id, QString title, QRect rect, int state)
{
    window_id=id;
    if(current_state==MAX_STATE)
        rect.setHeight(rect.height()-7);


    window_rect=rect;
    current_state=state;
    window_title=title;
}
void ApplicationWindowItem::SetWindowRect(int x, int y, int w, int h)
{
    window_rect.setX(x);
    window_rect.setY(y);
    window_rect.setWidth(w);
    window_rect.setHeight(h);

}
